using AzManContrib.MVC.Html.Behaviors;

namespace AzManContrib.MVC.FluentApi
{
    public class DefaultDenyUIBehaviorSpec
    {
        public DefaultsSpec Hide()
        {
            AzMan.Defaults.UI.DenyiedBehavior = typeof (HiddenUIBehavior);
            return new DefaultsSpec();
        }

        public DefaultsSpec Disable()
        {
            AzMan.Defaults.UI.DenyiedBehavior = typeof(DisabledUIBehavior);
            return new DefaultsSpec();
        }

        public DefaultsSpec SetCSSClass(string cssClass)
        {
            AzMan.Defaults.UI.CssClass = cssClass;
            return new DefaultsSpec();
        }

        public DefaultsSpec NoOutput()
        {
            AzMan.Defaults.UI.DenyiedBehavior = typeof(NoOutputUIBehavior);
            return new DefaultsSpec();
        }
    }
}